package com.csx.saas.platform.init.dto;

import com.csx.saas.platform.init.enumeration.InitPackageVersionStateEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 实体类
 * 套餐版本
 * </p>
 *
 * @author ChenSongXin
 * @since 2021-02-28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "InitPackageVersionPageQuery", description = "套餐版本")
public class InitPackageVersionPageQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 版本编号
     */
    @ApiModelProperty(value = "版本编号")
    private String versionNbr;
    /**
     * 版本名称
     */
    @ApiModelProperty(value = "版本名称")
    private String versionName;
    /**
     * 版本logo
     */
    @ApiModelProperty(value = "版本logo")
    private String versionLogo;
    /**
     * 原价
     */
    @ApiModelProperty(value = "原价")
    private BigDecimal originalPrice;
    /**
     * 官方销售价
     */
    @ApiModelProperty(value = "官方销售价")
    private BigDecimal salePrice;
    /**
     * 渠道价格
     */
    @ApiModelProperty(value = "渠道价格")
    private BigDecimal supplyPrice;
    /**
     * 版本描述
     */
    @ApiModelProperty(value = "版本描述")
    private String describe;
    /**
     * 状态\n#{ENABLE:启用;DISABLE:禁用;}
     */
    @ApiModelProperty(value = "状态\n#{ENABLE:启用;DISABLE:禁用;}")
    private InitPackageVersionStateEnum state;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sortValue;

}
